package com.xinshujia.wxxcx.util.json;

import lombok.Data;

@Data
public class WriteOperation {
    private String function;
    private Integer regaddr;
    private Integer regcount;
    private Double regcontent;

    @Override
    public String toString() {
        return "{\"function\":\"" + function + "\",\"regaddr\":" + regaddr + ",\"regcount\":" + regcount + ",\"regcontent\":" + regcontent + "}";
    }
}
